package com.yanzhu.service.model.mix;

import lombok.Data;

import java.net.URLDecoder;

/**
 * @Author: 方炎柱
 * @Description:
 * @Date: Created in 10:54 2018/1/31
 * @Modified:
 */
@Data
public class VideoHot {
    private int id;
    private int uid;
    private String path;
    private String image_path;
    private int view;
    private int like_sum;
    private int video_time;
    private String nickname;
    private String avatar;

    public void setNickname(String nickname) throws Exception {
        this.nickname = URLDecoder.decode(nickname, "utf-8");
    }
}
